package com.gopay.common.domain.dps;
import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;
/**
 * 意见反馈表
 * @author ssj
 *
 */
@Entity
@Table(name = "WA_FEEDBACK")
public class Feedback implements Serializable {
	 private static final long serialVersionUID = -1633458906480141509L;
	
    @Id
    @Column(name = "ID")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "WA_FEEDBACK_SEQ")
    @SequenceGenerator(name = "WA_FEEDBACK_SEQ", allocationSize = 1, initialValue = 1, sequenceName = "WA_FEEDBACK_SEQ")
	 private Long id ;
    /**
     * 客户id
     */
	@Column(name = "CUST_ID")
	 private String custId;
	 /**
	  * 上传时间
	  */
	 @Column(name = "TIME")
	 @Temporal(TemporalType.TIMESTAMP)
	 private Date time;
	 /**
	  * **
	  * 图片地址
	  */
	 @Column(name = "PICNAME")
	 private String  picname;
	 /**
	  * 意见反馈
	  */
	 @Column(name = "FEEDBACK")
	 private String feedback;
	 
	 
	 public Feedback() {
			super();
			// TODO Auto-generated constructor stub
		}
		
		 
	public Feedback(Long id, String custId, Date time, String picname, String feedback) {
		super();
		this.id = id;
		this.custId = custId;
		this.time = time;
		this.picname = picname;
		this.feedback = feedback;
	}


	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}


	public String getCustId() {
		return custId;
	}


	public void setCustId(String custId) {
		this.custId = custId;
	}


	public Date getTime() {
		return time;
	}


	public void setTime(Date time) {
		this.time = time;
	}

	public String getPicname() {
		return picname;
	}


	public void setPicname(String picname) {
		this.picname = picname;
	}


	public String getFeedback() {
		return feedback;
	}


	public void setFeedback(String feedback) {
		this.feedback = feedback;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}


	
	 
}
